package com.you.raft.common.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Setter
@Getter
@ToString
public class NodeConfig {

    /**
     * 节点自身的端口
     */
    private int selfPort;

    /**
     * 所有节点地址.
     */
    private List<String> allNodeAddresses;

}
